package com.xxxy;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import org.springframework.stereotype.Component;

@Component
public class HotspotBlockHandler {
    public static String gHotspotBlockHandler(String type,
                                              String size,
                                              BlockException e){
        System.out.println("热点限流，请稍后再试");
        return "热点限流，请稍后再试";
    }

}
